﻿using System;
using System.Collections.Generic;
using System.Text;
using EnvDTE;
using EnvDTE80;
using TSVNAddin.TSVN;

namespace TSVNAddin.Core
{
	public class AboutTortoiseSVNCommand : ICommand
	{
		private readonly TortoiseProcExecutor _TortoiseProcExecutor;

		public AboutTortoiseSVNCommand(TortoiseProcExecutor tortoiseProcExecutor)
		{
			_TortoiseProcExecutor = tortoiseProcExecutor;
		}

		public void Execute()
		{
			_TortoiseProcExecutor.Exec(TortoiseProcCommandType.About);
		}

		public CommandStatus QueryStatus()
		{
			return CommandStatus.Enabled;
		}
	}
}
